package com.situ.day1;

import org.junit.Test;

import java.util.Arrays;

public class OOPDemo {

    @Test
    public void test1() {
        Student student1 = new Student();
        student1.setId(1);
        student1.setName("张三");
        student1.setAge(32);

        Student student2 = new Student();
        student2.setId(2);
        student2.setName("lisi");
        student2.setAge(32);

        Student student = new Student(3, "wangwu", 23, 2323d);
        //com.situ.day1.Student@2a18f23c
        System.out.println(student);
        System.out.println(student.toString());
    }

    @Test
    public void test11() {
        int max = Math.max(3, 5);
        System.out.println(Math.floor(3.6));//3.0
        System.out.println(Math.ceil(3.1));//4.0
        System.out.println(Math.round(3.6));//4
        Arrays.asList();
    }
}
